<?php
$objRevisorTO = new RevisorTO();
$objRevisorTO = $this->vars['objRevisorTO'];

?>

<h1>Actualizar Revisor</h1>

<p align="justify">Completar el siguiente formulario:</p>

<form class="cmxform" id="commentForm" method="post" enctype="multipart/form-data" action="index.php?controller=revisor&action=actualizarRevisorProceso">
    <fieldset>
        <?php
        if(isset ($_SESSION['msn_operacion'])) {
            echo $_SESSION['msn_operacion'];
            unset ($_SESSION['msn_operacion']);
        }
        ?>
        <input type="hidden" name="id" id="id" value="<?php echo $objRevisorTO->getIdRevisor();?>"/>
        <p>
            <label for="nombre">Name: <em>(required*)</em></label>
            <input id="nombre" name="nombre" size="30"  class="required" value="<?php echo $objRevisorTO->getNombre()?>"/>
        </p>
        <br/>
        <p>
            <label for="apellido"> Last Name: <em>(required*)</em></label>
            <input id="apellido" name="apellido" size="30"  class="required" value="<?php echo $objRevisorTO->getApellido();?>"/>
        </p>
        <br/>
        <p>
            <label for="email1">Email 1: <em>(required*)</em></label>
            <input id="email1" name="email1" size="30"  class="required email" value="<?php echo $objRevisorTO->getEmail1();?>"/>
        </p>
        <br/>
        <p>
            <label for="emai2">Email 2: </label>
            <input id="email2" name="email2" size="30"  class="" value="<?php echo $objRevisorTO->getEmail2();?>"/>
        </p>
        <br/>
        <p>
            <label for="institucion">Institution:<em>(required*)</em></label>
            <textarea id="institucion" name="institucion" rows="3" cols="40" class="required" ><?php echo $objRevisorTO->getInstitucion();?></textarea>
        </p>
        <br/>
        <p>
            <label for="cargo">Title / Position: <em>(required*)</em></label>
            <textarea id="cargo" name="cargo" rows="3" cols="40" class="required" ><?php echo $objRevisorTO->getCargo()?></textarea>
        </p>
        <br/>
        <p>
            <label for="track">Track <em>(required*)</em></label>
            <?php $this->includeElement('select_track'); ?>
        </p>
        <br/>
        <p>
            <label for="pais">Country <em>(required*)</em></label>
            <?php $this->includeElement('select_pais'); ?>
        </p>
        <br/>
        <p align="center" style="padding-right:60px;">
            <input class="submit" type="submit" value="Actualizar"/>
        </p>
    </fieldset>
</form>